﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Foggy.Settings
{
    using System.ComponentModel.Composition;

    using Foggy.Data;

    public enum Setting
    {
        FogBugzUrl,  

        LoginUsername,

        LoginPassword
    }

    [InheritedExport]
    public interface ISettingsService
    {
        T GetSettingOrDefault<T>(Setting setting, T defaultValue);

        void SetSetting<T>(Setting setting, T value);
    }
}